package com.durian.base.update.proxy

import com.durian.base.update.entity.DownloadEntity
import com.durian.base.update.entity.VersionEntity

/**
 * 版本请求检查器
 */
interface IHttpRequest {
    /**
     * 发起检查更新
     */
    suspend fun sendRequest() : VersionEntity?
    /**
     * 下载应用
     */
    fun downloadApk(downloadEntity: DownloadEntity, callBack : DownloadApkCallBack)
}